package com.util.Function;

/**
 * Created by wlc on 2018/5/17.
 */
public class Sigmoid implements Function{
    @Override
    public Double activation(Double x) {
        return 1d / (1d + Math.exp(-x));
    }
}
